// pages/user/userCenter/comps/shop/shop.js
Component({
    /**
     * 组件的属性列表
     */
    properties: {
        nowDate: String
    },

    /**
     * 组件的初始数据
     */
    data: {

    },

    /**
     * 组件的方法列表
     */
    methods: {
        goShopManager: function() {
            wx.navigateTo({
                url: '/pages/shopManager/shopInfo/shopInfo'
            })
        },

        goBannerManager: function() {
            wx.navigateTo({
                url: '/pages/shopManager/bannerManager/bannerList/bannerList'
            })
        },

        goCustomizeImg: function() {
            wx.navigateTo({
                url: '/pages/shopManager/customizeImg/customizeImg'
            })
        },

        goRelayManager: function() {
            wx.navigateTo({
                url: '/pages/shopManager/relayManager/relayManager'
            })
        },

        goGoodsManager: function(e) {
            wx.navigateTo({
                url: '/pages/shopManager/goodsManager/goodsManager/goodsManager?goodsType=' + e.currentTarget.dataset.type
            })
        }
    }
})